﻿using Newtonsoft.Json;
using System.Collections.Generic;

namespace Inovout.Kuajing.Web.Models
{
    public class TradeInfo
    {
        [JsonProperty("trade_code")]
        public string No { get; set; }
        [JsonProperty("shipper_code")]
        public string ShipperCode { get; set; }
        [JsonProperty("amount")]
        public float Amount { get; set; }
        [JsonProperty("logistics_company_code")]
        public string LogisticsCompanyCode { get; set; }

        [JsonProperty("receiver_zipcode")]
        public string ReceiverZipcode { get; set; }
        [JsonProperty("receiver_province")]
        public string ReceiverProvince { get; set; }
        [JsonProperty("receiver_city")]
        public string ReceiverCity { get; set; }
        [JsonProperty("receiver_county")]
        public string ReceiverCounty { get; set; }
        [JsonProperty("receiver_address")]
        public string ReceiverAddress { get; set; }
        [JsonProperty("receiver_name")]
        public string ReceiverName { get; set; }
        [JsonProperty("receiver_id_no")]
        public string ReceiverIdNo { get; set; }
        [JsonProperty("receiver_mobile")]
        public string ReceiverMobile { get; set; }
        [JsonProperty("receiver_phone")]
        public string ReceiverPhone { get; set; }
        [JsonProperty("items")]
        public List<TradeItemInfo> Items { get; set; }
        [JsonProperty("payment_company_code")]
        public virtual string PaymentCompanyCode { get; set; }
        [JsonProperty("payment_order_no")]
        public virtual string PaymentOrderNo { get; set; }
        [JsonProperty("payment_id_no")]
        public virtual string PaymentIdNo { get; set; }
    }
  
}